package com.example.compose

import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.ElevatedButton
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.tooling.preview.Preview
import com.example.compose.ui.theme.CustomTheme

@Composable
@Preview(
    showBackground = true,
)
fun ThemeExp() {
    CustomTheme {
        Column(modifier = Modifier.fillMaxSize()) {
            Text(
                text = "Theme",
                style = MaterialTheme.typography.headlineMedium.copy(
                    fontWeight = FontWeight.ExtraBold
                )
            )
            ElevatedButton(
                onClick = { }
            ) {
                Text(text = "Button")
            }
        }
    }
}